package com.gs.business.comadi.entrate;

import java.util.ArrayList;

import com.gs.domain.Entrate;
import comi.gsi.command.MacroCommand;

public class CommandInserisciListaEntrate extends MacroCommand {

	public CommandInserisciListaEntrate(final ArrayList<Entrate> entrate) {
		for (Object element : entrate) {
			if(element != null && element instanceof Entrate){
				Entrate entrata = (Entrate) element;
				add(new CommandInserisciEntrata(entrata));
			}
		}
	}
}
